package com.suse.ecommerce.serviceImp;

import com.suse.ecommerce.dao.SeckillTimeMapper;
import com.suse.ecommerce.pojo.SeckillTime;
import com.suse.ecommerce.service.SeckillTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SeckillTimeServiceImpl implements SeckillTimeService {
    @Autowired
    private SeckillTimeMapper seckillTimeMapper;
    @Override
    public List<SeckillTime> querySeckillTime() {
        List<SeckillTime> seckillTimes = seckillTimeMapper.queryAllTime();
        return seckillTimes;
    }
}
